tools/libxc: generic common code
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sun, 8 Jun 2014 02:05:40 +0000 (03:05 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 5 May 2015 13:30:46 +0000 (14:30 +0100)
commit4f85574b9422dbe7730b76993d036a073c4f9f38
treefbc62f59d504aa460b34c6e4960c1106237dbdbb
parentd004e0980d445093a4c2cee58e9c1102c42f5575
tools/libxc: generic common code

Add the context structure used to keep state during the save/restore
process.

Define the set of architecture or domain type specific operations with a
set of callbacks (save_ops, and restore_ops).

Add common functions for writing records.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <Ian.Campbell@citrix.com>
tools/libxc/xc_sr_common.c
tools/libxc/xc_sr_common.h